package oop多态作业;

public class Cat extends  Pet {
    public Cat() {
    }

    public Cat(String name) {
        super(name);
    }
    public void  eat(){
        System.out.println("我是"+this.getName()+"，我吃鱼");
    }
}
